﻿using System;
using System.Collections.Generic;
using Model.AuthModel;
namespace IDAL.AuthModel
{
    /// <summary>
    /// 通用组件，权限模型，接口层，管理成员登录记录
    /// </summary>
    public interface IStaffLogin
    {
        /// <summary>
        /// 添加登录记录
        /// </summary>
        /// <param name="info"></param>
        /// <returns></returns>
        bool InsertStaffLogin(StaffLoginInfo info);

        /// <summary>
        /// 成员的登录记录
        /// </summary>
        /// <param name="condition"></param>
        /// <param name="recordCount"></param>
        /// <returns></returns>
        IList<StaffLoginInfo> ListStaffLogin(StaffLoginCondition condition, out int recordCount);
    }
}
